Skip to content

Make domainid optional in assignVirtualMachine#13213

Open
winterhazel wants to merge 1 commit into
apache:4.20from
scclouds:adjust-assignvmcmd-parameters
Open

Make domainid optional in assignVirtualMachine#13213
winterhazel wants to merge 1 commit into
apache:4.20from
scclouds:adjust-assignvmcmd-parameters

Conversation

@winterhazel
Copy link
Copy Markdown
Member

Description

assignVirtualMachine demands providing a domainid, even though there are situations in which it is not required, such as when moving an instance to a project using projectid. This patch removes this restriction.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

How Has This Been Tested?

  • I verified that it was possible to assign resources via the UI for both accounts and projects
  • I verified that it was possible to assign resources via the API by providing only the projectid and virtualmachineid parameters
  • I verified that it was possible to assign resources via the API by providing only the account, domainid, and virtualmachineid parameters
  • I verified that when both projectid and domainid are provided, domainid is ignored and the VM is moved to the project

@winterhazel
Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@winterhazel a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 17973

@winterhazel
Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@winterhazel a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 17974

@DaanHoogland
Copy link
Copy Markdown
Contributor

03:57:02 ERROR: We couldn't grab the PR author. Something went wrong querying the GitHub API.

@winterhazel , I think we are hitting one of our limits here. I’ll try some more in the backend.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 17984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants